import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);//现在我们知道了这个语句的意思是
    /*
        现在我们知道了这个语句的意思是：给Scanner类实例化一个对象
    */
        System.out.println("请输入你的姓名：");
        String name = sc.nextLine();
        System.out.println("请输入你的工资：");
        float salary = sc.nextFloat();
        System.out.println("姓名:" + name + "工资：" + salary);
        sc.close();
    }
    public static void main2(String[] args) {
        int b = 129;
        byte c = (byte)b;
        System.out.println(c);
        String aa = "12138";
        int undertake = Integer.valueOf(aa);
        System.out.println(undertake);
        int a = 1;
        String ret = String.valueOf(a);
        System.out.println(ret);
    }
    public static void main1(String[] args) {
        System.out.println("11");
    }

}
